/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.polymorphism.config;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.polymorphism.service.imp.AnimalFoodImpl;

/**
 *
 * @author DieFStaL
 */
@Configurable
public class Config 
{
    @Bean(name = "eating")
    public AnimalFoodImpl eating()
    {
        return new AnimalFoodImpl();
    }
}